Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


getDBVersion

This procedure returns the database version number from the database sequence initial value. The sequence name must match the naming convention, seq_<dblogical>_dbversion, for example, seq_icfdb_dbversion. If a sequence with this name is not found for a passed-in database, the version number is returned as 000000.

The ERwin model has a UDP, called DBVersion, that causes this sequence to be created and updated with the correct value when a delta file is generated.

Location: af\app\afgenmngrp.i

Parameters:

INPUT pcLogicalNames AS CHARACTER

A comma-delimited list of logical database names.

OUTPUT pcVersions AS CHARACTER

The database version as a string, for example, 020005.

Notes: This is used by the install and the help about window.

Examples: See the main block in af\app\afapppingp.p.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095